All Questions
4 questions
-5votes
2answers
49views
Display the IP addresses of all currently configured interfaces [closed]
Display the IP addresses of all currently configured interfaces. The output should done in the following format:i The interface eth0 currently has the IP 192.168.178.22 The interface eth1 currently ...
0votes
1answer
237views
How to run bash script when eth0 came up from hibernate
I have following problem and I can not solve it: My Debian server should execute a Bash script as soon as eth0 came up from hibernate. I have created a script in /etc/network/if-up.d/: #!/bin/sh # ...
0votes
0answers
2kviews
Create the button's action with glade
I used linux glade to create interfaces of a bash script but I can not configure the button's actions the first interface asks the user to choose the type of the query. When they click the button ...
3votes
3answers
6kviews
Why is delay after ifconfig down needed before up if changing MAC address?
Hi I made bash script to put down my interface, change MAC address and get it up again. #!/bin/bash INTERFACE_STATUS=$( cat /sys/class/net/eth0/operstate ) echo "$INTERFACE_STATUS" if [ "$...